Ubuntu 14.04
Sponsored Link

Vsftpd Over SSL/TLS
2014/04/26
 
Enable SSL/TLS on Vsftpd.
[1]
[2] Configure for SSL/TLS
root@www:~#
vi /etc/vsftpd.conf
# line 147: change to your certificates

rsa_cert_file=
/etc/ssl/private/server.crt
# line 150: change to your key

rsa_private_key_file=
/etc/ssl/private/server.key
# add at the last line

ssl_enable=YES
# enable SSL

force_local_data_ssl=YES
# enable SSL

force_local_logins_ssl=YES
# enable SSL
root@www:~#
initctl restart vsftpd

vsftpd start/running, process 1406
[3] Configure on client PC. Use FileZilla that has a function of connecting trough SSL/TLS. Open [File]-[Site Manager] and input login info, and select 'TLS/SSL' in 'Server Type'.
[4] Input user name and password.
[5] Following waring is shown because certificate is own made one, but it's no ploblem. Go next.
[6] Just connected.
 
Tweet